﻿
@model XQ.SP.Model.UserInfoItem
@{
    ViewBag.Title = "用户数据权限 信息";
    ViewBag.TextName = "用户数据权限 信息";
    Layout = "~/Views/Shared/Admin.cshtml";
}
<link rel="stylesheet" type="text/css" href="/Res/CSS/css/base.css" />
<link rel="stylesheet" type="text/css" href="/Res/CSS/css/styles.css" />

<div class="breadcrumb">
	<div class="route fl">
		<a href="/UserInfo/List">管理列表</a> 
		<i>&gt;</i>
		<span>信息编辑</span> 
	</div>
</div>

@using (Html.BeginForm())
{
        @Html.HiddenFor(model => model.Id)
        @Html.HiddenFor(model => model.Status)
        @Html.HiddenFor(model => model.Created)
        @Html.HiddenFor(model => model.Creator)
        @Html.HiddenFor(model => model.Modifier)
        @Html.HiddenFor(model => model.Modified)
        List<SelectListItem> ListSeach = new List<SelectListItem>();
<div style=" font-size: 22px; color: red; margin-top:15px; text-align: center; width: 100%;">@Html.ValidationSummary(true)</div>
<div class="pd15">

    <div class="form-item">
		<label class="form-label">用户 名</label>
		<div class="input-block"><input type="text" id="UserName" name="UserName"  value="@Model.UserName" class="input" placeholder="请输入用户 名" /></div>
	</div>
    <div class="form-item">
		<label class="form-label">密码</label>
		<div class="input-block"><input type="text" id="Pwd" name="Pwd"  value="@Model.Pwd" class="input" placeholder="请输入密码" /></div>
	</div>
    <div class="form-item">
		<label class="form-label">县市</label>
		<div class="input-block"><input type="text" id="City" name="City"  value="@Model.City" class="input" placeholder="请输入县市" /></div>
	</div>
    <div class="form-item">
		<label class="form-label">乡镇</label>
		<div class="input-block"><input type="text" id="Towns" name="Towns"  value="@Model.Towns" class="input" placeholder="请输入乡镇" /></div>
	</div>
    <div class="form-item">
		<label class="form-label">村名称</label>
		<div class="input-block"><input type="text" id="Village" name="Village"  value="@Model.Village" class="input" placeholder="请输入村名称" /></div>
	</div>
    <script>
        function US(data) {
            var nme = data.substr(data.lastIndexOf("|") + 1);
            var path = data.substr(0, data.lastIndexOf("|"));
            if (nme.length > 0 & data.lastIndexOf("||") < 0) {
                try{
                    document.getElementById(nme + "1").src = path;
                }catch(e){}
                try{
                    document.getElementById(nme).value = path;
                }catch(e){}
                    try{
                        document.getElementById(nme + "N").innerHTML = path.substr(path.lastIndexOf("/") + 1);
                    } catch (e) { }
            }
        }
    </script>
    
<div class="form-item">
		<div class="input-block">
			<button type="submit" class="btn btn-large" id="btn-publish">立即保存</button>
		</div>
	</div>
</div>
}

